package com.novel.common.event;

import com.novel.pojo.system.DownLoadInfo;
import org.springframework.context.ApplicationEvent;

public class DownLoadInfoEvent extends ApplicationEvent {

    private DownLoadInfo downLoadInfo;


    public DownLoadInfoEvent(Object source) {
        super(source);
    }

    public DownLoadInfoEvent(Object source, DownLoadInfo downLoadInfo) {
        super(source);
        this.downLoadInfo = downLoadInfo;
    }

    public DownLoadInfo getDownLoadInfo() {
        return downLoadInfo;
    }
}